package com.taiyi.renaissancemall.ui.mine.order.orderExpress;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.taiyi.renaissancemall.R;
import com.taiyi.renaissancemall.bean.OrderExpressListBean;

import java.util.List;

public class OrderExpressAdapter extends BaseQuickAdapter<OrderExpressListBean.OrderExpressBean.ExpressBean.DataBean, BaseViewHolder> {
    public OrderExpressAdapter(int layoutResId, @Nullable List<OrderExpressListBean.OrderExpressBean.ExpressBean.DataBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, OrderExpressListBean.OrderExpressBean.ExpressBean.DataBean item) {
        helper.setText(R.id.tv_order_express_item, item.context);
    }
}
